<div class="container">
<?php
$imageData = getDB()->getImageById($_GET["image"]);
include("navigation.php");
?>
<div class="page-header">
	<h1><?php echo($imageData["IMAGE_NAME"])?></h1>
</div>
<div class="pure-g content">
	<div class="pure-u-2-3">
		<?php 
		echo("<div class=\"picture\" style=\"background-image:url('content/uploads/" . $imageData["FILE_PATH"] . "')\"></div>")
		?>
		<div class="picture-meta">
			<p><?php echo $imageData["DESCRIPTION"]?></p>
			<p><?php echo ("Uploaded " . $imageData["UPLOAD_DATE"])?></p>
		</div>
	</div>
	<div class="pure-u-1-3 sidebar">
		<?php include("sidebar.php");?>
	</div>
</div>
</div>